package com.exam.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("department")
public class Department {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    @TableField("parentId")
    private Integer parentId;

    @TableField("delFlag")
    private Integer delFlag;//1存在0删除

}
